package com.whm.hrmanagement.service;

import java.util.List;
import com.whm.hrmanagement.domain.OaInsurance;
import com.whm.hrmanagement.domain.dto.OaStaffSalaryDto;
import com.whm.hrmanagement.domain.dto.StaffInsuranceDto;
import com.whm.hrmanagement.domain.vo.OaInsuranceVo;

/**
 * 员工五险一金Service接口
 * 
 * @author whm
 * @date 2024-02-09
 */
public interface IOaInsuranceService 
{
    /**
     * 查询员工五险一金
     * 
     * @param id 员工五险一金主键
     * @return 员工五险一金
     */
    public OaInsurance selectOaInsuranceById(String id);
    public OaInsurance getInsuranceByStaffId(String id);

    /**
     * 查询员工五险一金列表
     * 
     * @param oaInsurance 员工五险一金
     * @return 员工五险一金集合
     */
    public List<OaInsurance> selectOaInsuranceList(OaInsurance oaInsurance);
    public List<StaffInsuranceDto> selectOaInsuranceList2(OaInsuranceVo oaInsuranceVo);

    /**
     * 新增员工五险一金
     * 
     * @param oaInsurance 员工五险一金
     * @return 结果
     */
    public int insertOaInsurance(OaInsurance oaInsurance);

    /**
     * 修改员工五险一金
     * 
     * @param oaInsurance 员工五险一金
     * @return 结果
     */
    public int updateOaInsurance(OaInsurance oaInsurance);

    /**
     * 批量删除员工五险一金
     * 
     * @param ids 需要删除的员工五险一金主键集合
     * @return 结果
     */
    public int deleteOaInsuranceByIds(String[] ids);

    /**
     * 删除员工五险一金信息
     * 
     * @param id 员工五险一金主键
     * @return 结果
     */
    public int deleteOaInsuranceById(String id);
}
